<template>
<div>
  <!-- 
    练习题：
    需求：结合v-for和v-bind完成图片的渲染
   -->
   <img v-for="(item,index) in arr" :key="index" v-bind:src="item.url" alt="">
</div>
</template>
<script>
export default {
  data(){
    return {
      arr: [
        {
          url: 'https://img0.baidu.com/it/u=208758006,3714410975&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200'
        },
        {
          url: 'https://img0.baidu.com/it/u=5035317,2898868561&fm=253&fmt=auto&app=120&f=JPEG?w=200&h=200'
        }
      ]
    }
  }
}
</script>
<style scoped>
</style>